package edu.study.user.api.req.role;

import javax.validation.constraints.NotNull;

import edu.study.api.common.dto.BaseReqDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
@ApiModel("新增角色")
public class AddRoleReq extends BaseReqDto {

    /**
	 *
	 */
	private static final long serialVersionUID = -731538599642082271L;
	
	@ApiModelProperty(value = "角色名称", example = "", required = true)
	@NotNull(message = "角色名称不能为空")
    private String roleName;

	@ApiModelProperty(value = "角色类型(ADMIN-管理员,TEACHER-老师,STUDENT-学生,OTHER-其他)", example = "", required = false)
    private String roleType;
	
	@ApiModelProperty(value = "角色描述", example = "", required = false)
    private String roleDesc;
	
	@ApiModelProperty(value = "备注", example = "", required = false)
    private String remarks;
	
	@ApiModelProperty(value = "部门编号", example = "", required = true)
	@NotNull(message = "部门编号不能为空")
    private String departmentNo;
}
